﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XW.Utils;
using XW.Core;

namespace XW.Data.SeedData
{
    public class SysUserSeedData : ISeedDataEntity<SysUser>
    {
        public List<SysUser> GetSeedData()
        {
            string Salt = "111";
            string password = "123456";
            var encryptPasswod = CryptoHelper.MD5(string.Format("{0}{1}", Salt, password));
            return new List<SysUser>() { 
                new SysUser{ Id = 1, Account ="admin", Salt=Salt, Password =encryptPasswod, RealName ="管理员", NickName = "管理员", AccountType = 999 , OrderNo = 1, Email = "admin@admin.com", Introduc="我是超级管理员", IsDelete = false, CreateUserId = 1, Phone = "15067920870" }
            };
        }
    }
}
